package com.heima.service;



import com.heima.pojo.dto.LoginDto;
import com.heima.pojo.vo.LoginUserVo;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface UserService {
    /**
     * 登录
     * @param dto
     * @return
     */
    LoginUserVo login(LoginDto dto);




    /**
     * 获取图片验证码
     * @param clientToken
     * @return
     */
    void imgToken(String clientToken, HttpServletResponse response) throws IOException;
}
